<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>3d旋转 </title>
		<style>
			#d1{
				height: 500px;
				width: 500px;
				text-align: center;
				line-height: 400px;
				font-size: 80px;
				font-family: 楷体;
				background-color: firebrick;
				margin: 100px auto;
				
			}
			#d1:hover{
				transition: 2s ease-in;
				transform: rotateX(180deg) rotateY(180deg);
			}
		</style>
	</head>
	<body>
		<div id="d1">
			教育改变生活
		</div>
	</body>
</html>